package com.boot_reggie.Service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.boot_reggie.Dao.SetmealMapper;
import com.boot_reggie.domain.Setmeal;
import com.boot_reggie.domain.SetmealDto;

import java.sql.SQLIntegrityConstraintViolationException;
import java.util.List;

public interface SetmealService extends IService<Setmeal> {
    public void saves(SetmealDto setmealDto);
    public Page<SetmealDto> pages(int page, int size, String name);
    public void removeWithDish (List<Long> ids);
    public void updateWithSetmeal(int status,List<Long> ids);
    public  SetmealDto selectID(Long id);

    public void  updateDate (SetmealDto setmealDto);
}